home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Support Advantage Support Libraries 1995 June
/
SGI Support Advantage Support Libraries 1995 Jun.iso
/
insight
/
lib_60
/
SGI_bookshelves
/
SGI_Support
/
mm
/
bin
/
audiocheck
next >
Wrap
Text File
|
1995-06-06
|
676b
|
23 lines
#! /bin/csh -f
#
# audiocheck
#
# Check whether the system has 'good' audio hardware installed.
# If not, put up a helpful notifier
#
set hinvout="`hinv|grep Audio`"
switch ("$hinvout")
case *Audio*:
if( ! -f /d/mm/ta/test/sounds/intro ) xconfirm -b OK -header "Sorry..." \
-t "Because you do not have the audio files for this presentation"\
-t "installed, you will be unable to play the audio segments." > /dev/null
breaksw
default: xconfirm -b OK -header "Sorry..." \
-t "Because your IRIS does not have audio hardware, we" \
-t "recommend that you do not try to play the audio segements"\
-t "of this presentation." > /dev/null
breaksw
endsw